package gov.child.entities.vo;

import gov.child.entities.po.EPersonalDeclareForm;
import gov.child.entities.vo.annotation.Alias;

import java.util.Date;

/**
 * @author fzh
 * @since 2017/9/13
 */
public class PersonalDeclareForm {
    public static final PersonalDeclareForm EMPTY_PERSONAL_DECLARE_FORM = new PersonalDeclareForm();

    public static PersonalDeclareForm parseFrom(EPersonalDeclareForm p) {
        return BeanTransformer.transform(PersonalDeclareForm.class, p);
    }

    public static EPersonalDeclareForm parseTo(PersonalDeclareForm p) {
        return BeanTransformer.transform(EPersonalDeclareForm.class, p);
    }

    // form form
    @Alias("id")
    private Integer personalDeclareFormId;
    private String uniformCode;
    private Integer userId;
    private String personalMaterial;
    private Byte status;
    private Date createTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getPersonalDeclareFormId() {
        return personalDeclareFormId;
    }

    public void setPersonalDeclareFormId(Integer personalDeclareFormId) {
        this.personalDeclareFormId = personalDeclareFormId;
    }

    public String getUniformCode() {
        return uniformCode;
    }

    public void setUniformCode(String uniformCode) {
        this.uniformCode = uniformCode;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPersonalMaterial() {
        return personalMaterial;
    }

    public void setPersonalMaterial(String personalMaterial) {
        this.personalMaterial = personalMaterial;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}
